for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import {Entity, Column, PrimaryGeneratedColumn} from 'typeorm';
@Entity()
export class Address {
@PrimaryGeneratedColumn('uuid')
private id: string;
@Column({type: 'varchar', nullable: false})
private street: string;
private city: string;
private zipCode: string;
private country: string;
constructor(street: string, city: string, zipCode: string, country: string) {
this.street = street;
this.city = city;
this.zipCode = zipCode;
this.country = country;
}
public getId(): string {
return this.id;
public getStreet(): string {
return this.street;
public getCity(): string {
return this.city;
public getZipCode(): string {
return this.zipCode;
public getCountry(): string {
return this.country;